package com.hxzy.dto.system;


import com.hxzy.common.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 字典条件查询
 */
@Getter
@Setter
@ApiModel(value = "字典管理查询")
public class SysDictTypeDTO extends PageDTO {


    @ApiModelProperty(value = "字典名称")
    private String dictName;

    @ApiModelProperty(value = "字典类型")
    private String dictType;

    @ApiModelProperty(value = "状态 0正常，1停用")
    private String status;

    @ApiModelProperty(value = "创建时间 ，格式为yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty(value = "结束时间 ，格式为yyyy-MM-dd" )
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
